# 编写第一个函数  def get_info(name, age):  raise
# 接收姓名和年龄，如果年龄不在1到120之间，产生 ValueError 异常
def get_info(name, age):
    if not 1 < age < 120:
        raise ValueError("年龄输入有误")
    else:
        print("name: %s, age: %s" % (name, age))
        # print(name, age)
if __name__ == '__main__':
    get_info("zs", 50)
# try   except   else   finally
# raise
# shutil(rmtree,    os: operation system)    subprocess
